//
//  QJNetworkManager.h
//  QuanJieShopProject
//
//  Created by apple on 2018/1/30.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <AFNetworking.h>
//状态栏数据请求的菊花动画
#import <AFNetworkActivityIndicatorManager.h>
//数据请求日志打印
//#import <AFNetworkActivityLogger.h>

@class QJNetworkManager;
//Block
typedef void(^ QJNetworkManagerBlock)(NSURLSessionDataTask *operetion,id response);

@interface QJNetworkManager : NSObject

//数据请求管理
@property (nonatomic, strong) AFHTTPSessionManager *manager;

//数据请求结果处理
- (void)requestResponse:(id)response operation:(NSURLSessionDataTask *)operation success:(void(^)(NSURLSessionDataTask *operation,id response))success failure:(void(^)(NSURLSessionDataTask *operation,id response))failure;

@end
